<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div align="center">
    <h2>发布房源</h2>
    <form action="/upd" method="post">
        <input th:value="${houseinfo.houseid}" name="houseid" hidden>
        房屋描述：<input type="text" th:value="${houseinfo.housedesc}" name="housedesc"><br/>
        户型：<select name="typeid">
        <option th:each="hout:${hou}" th:selected="${houseinfo.typeid==hout.typeid}" th:value="${hout.typeid}"><span th:text="${hout.typename}"></span></option>
    </select><br/>
        租金：<input type="text" name="monthlyrent" th:value="${houseinfo.monthlyrent}"><br/>
        <input type="submit" value="提交">
    </form>
</div>
</body>
</html>